package com.five.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 章节实体类
 * @author sjq
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Chapter {

    private Long id;
    private Long novelId;
    private Long authorId;
    // 审核人id
    private Long reviewerId;
    private String title;
    private String content;
    // 章节字数
    private Integer wordCount;
    // 章节排序
    private Integer sort;
    // 审核状态 0：待审 1：通过 2：驳回
    private Byte status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private LocalDateTime reviewTime;

}
